<?php

$upload_config['upload_dirs']['news'] = array(
    'file_dir'      =>    '../data/images/news/origin' . DIRECTORY_SEPARATOR,
    'url'           =>    '',
    'file_ext'      =>    array('jpg', 'png', 'gif', 'bmp'),
    'resize_type'   =>    'resize',
    'max_width'     =>    5000,
    'max_height'    =>    5000,
    'blank'         =>    '',
    'thumbs'        =>    array(
        'crop'         =>    array(
            'file_dir'      =>  '../data/images/news/crop' . DIRECTORY_SEPARATOR,
            'url'           =>  '',
            'thumbnail_type'=>  'crop',
            'width'         =>  130,
            'height'        =>  100,
            'blank'         =>  '',
        ),
    )
);

?>
